<?php

namespace app\customer\controller;
use app\common\controller\DBase;
use app\common\controller\PCBase;
use  app\customer\logic\TikMessageLogic;
use  think\App;

class ShopMessages extends PCBase
{
    protected $tikMessageLogic = null;
    public function __construct(App $app,TikMessageLogic $tikMessageLogic)
    {
        parent::__construct($app);
        $this->tikMessageLogic = $tikMessageLogic;
    }


    /**
     * @desc   店铺发送消息管理
     * @author luckyXiong
     * @date 2024-04-28
     */
    public function index(){
        $data = $this->request->post();
        return $this->tikMessageLogic->get_shop_message($data);
    }


    /**
     * @desc   编辑
     * @author luckyXiong
     * @date 2024-04-28
     */
    public function updateShopInfo(){
        $data = $this->request->post();
        return $this->tikMessageLogic->updateShopInfo($data);
    }





}